// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.ast.*;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

// import java.util.ArrayList;
// import java.util.List;
#pragma once
#include "../SQLStatementImpl.h"
#include "../SQLReplaceable.h"
#include "SQLDropStatement.h"
class SQLDropTypeStatement : virtual public SQLStatementImpl, virtual public SQLDropStatement, virtual public SQLReplaceable
{
public:
  SQLName_ptr name;
  BOOL_ptr ifExists;

  SQLDropTypeStatement();

  SQLDropTypeStatement(DbType_ptr dbType);
  SHAREDOBJECT(SQLDropTypeStatement);

  // @Override
  void accept0(SQLASTVisitor_ptr visitor);

  SQLName_ptr getName();

  void setName(SQLName_ptr x);

  BOOL_ptr isIfExists();

  void setIfExists(BOOL_ptr ifExists);

  // @Override
  SQLObject_list_ptr getChildren();

  BOOL_ptr replace(SQLExpr_ptr expr, SQLExpr_ptr target);

  // @Override
  SQLDDLStatement::DDLObjectType getDDLObjectType();
};
